/* AppMenu.css */
.neon-sider {
    background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.neon-sider-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.toggle-button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px auto;
    z-index: 2;
}

.toggle-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 140, 255, 0.5);
}

.expand-icon,
.collapse-icon {
    color: #00f;
    font-size: 20px;
    text-shadow: 0 0 5px #00f;
}

.neon-menu {
    background: transparent;
    border-right: none;
    padding: 10px 0;
    flex: 1;
    overflow-y: auto;
}

.neon-menu .ant-menu-item,
.neon-menu .ant-menu-submenu-title {
    padding: 0 20px;
    margin: 8px 0;
    height: 48px;
    line-height: 48px;
    border-radius: 0 24px 24px 0;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px;
    overflow: hidden;
}

.neon-menu .ant-menu-item:hover,
.neon-menu .ant-menu-submenu-title:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.neon-menu .ant-menu-item::before,
.neon-menu .ant-menu-submenu-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #00f;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.neon-menu .ant-menu-item:hover::before,
.neon-menu .ant-menu-submenu-title:hover::before {
    transform: scaleY(1);
}

.neon-menu .ant-menu-item-selected {
    background: linear-gradient(90deg, rgba(0, 0, 255, 0.1), transparent);
    color: #fff;
    border-right: 3px solid #00f;
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.2);
}

.neon-menu .ant-menu-item-selected::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #00f;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f, 0 0 20px #00f;
}

.neon-menu .ant-menu-item-icon,
.neon-menu .ant-menu-submenu-icon {
    font-size: 18px;
    margin-right: 15px;
    color: #00f;
    text-shadow: 0 0 5px #00f;
    transition: all 0.3s ease;
}

.collapsed .neon-menu .ant-menu-item {
    padding: 0;
    justify-content: center;
}

.collapsed .neon-menu .ant-menu-item-icon {
    margin-right: 0;
    font-size: 20px;
}

.collapsed .neon-menu .ant-menu-submenu-title {
    padding: 0;
    justify-content: center;
}

.collapsed .neon-menu .ant-menu-submenu-title .ant-menu-submenu-icon {
    margin-right: 0;
    font-size: 20px;
}

/* 滚动条样式 */
.neon-menu::-webkit-scrollbar {
    width: 4px;
}

.neon-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.neon-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 255, 0.5);
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 255, 0.8);
}

.neon-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 255, 0.8);
}